<form action='http://suporte-sm.mailee.me/go/add_contact_form' id='mailee-form' method='post'>
<fieldset>
<input name='key' type='hidden' value='002830'>
<input name='url_ok' type='hidden' value='URL_OK'>
<input name='url_error' type='hidden' value='URL_ERROR'>
Nome:
<br>
<input name='name' type='text'>
<br>
Email:
<br>
<input name='email' type='text'>
<br>
<input type='submit'>
</fieldset>
</form>
<script>
document.getElementById('mailee-form').onsubmit = function(){
re = /^[a-z0-9\._-]+@([a-z0-9][a-z0-9-_]*[a-z0-9-_]\.)+([a-z-_]+\.)?([a-z-_]+)$/
if(!this.email.value.match(re)) {
alert("Por favor, preencha corretamente o email");
this.email.focus();
return false;
}
return true;
}
</script>